package com.lc.common.bean.enums;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 排序方式
 * @author lc
 */
@ApiModel(value = "OrderEnum", description = "排序方式")
public enum OrderEnum {
    /**
     * 正序
     */
    @ApiModelProperty(value = "正序")
    ASC("ASC"),
    /**
     * 倒序
     */
    @ApiModelProperty(value = "倒序")
    DESC("DESC");

    private String value;

    OrderEnum(String value){
        this.value = value;
    }

    public String getValue() {
        return value;
    }
}
